import Vue from "vue";
import MiNoticeConfig from "./MiNotice.vue";

function  miNotice(text){
        var Constructor= Vue.extend(MiNoticeConfig)
                var instance=new Constructor({data:{text}}).$mount();
                        document.body.appendChild(instance.$el)
}

export  default miNotice;